import request from '@/utils/request'

// 新增
export function addWfpost(data) {
  return request({
    url: '/bpmn/workflow/wfpost/add',
    method: 'post',
    data
  })
}

// 删除
export function delWfpost(ids) {
  return request({
    url: `/bpmn/workflow/wfpost/delete/${ids}`,
    method: 'post'
  })
}

// 修改
export function updateWfpost(data) {
  return request({
    url: '/bpmn/workflow/wfpost/update',
    method: 'post',
    data
  })
}

// 列表
export function listWfpost(params) {
  return request({
    url: '/bpmn/workflow/wfpost/listPage',
    method: 'get',
    params
  })
}
